.home {

  .container {
    width: 1400px;
    margin: 20px auto;

    .page_link {
      display: flex;
      color: #3D3D3D;
      font-size: 16px;

      p {
        margin: 0;
      }

      a {
        color: #3D3D3D;
      }

      a:last-child {
        color: #224C84;
      }
    }

    .section {
      margin: 15px 0;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;

      .l {
        width: 250px;
        box-shadow: 0 0 10px rgba(0, 0, 0, .3);

        .title {
          position: relative;

          p {
            position: absolute;
            left: 12px;
            top: 12px;
            display: flex;
            align-items: center;
            margin: 0;
            font-size: 22px;
            font-weight: bold;
            color: white;

            &::before {
              width: 3px;
              height: 20px;
              content: '';
              display: block;
              background-color: white;
              margin-right: 8px;
            }
          }

          img {
            width: 100%;
            display: block;
            object-fit: cover;
          }
        }

        .a_menu {
          a {
            padding: 17px 0;
            margin: 0 13px;
            display: block;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px dashed #3D3D3D;

            p {
              margin: 0 0 0 15px;
              color: #3D3D3D;
              font-size: 18px;
              transition: all 600ms;
              position: relative;

              &::after {
                content: attr(data-title);
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                display: block;
                color: #224C84;
                font-weight: bold;
                font-size: 18px;
                opacity: 0;
                transition: all 600ms;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
              }
            }

            .icon {
              position: relative;
              margin-right: 10px;

              img {
                display: block;
                transition: all 600ms;
              }

              img:first-child {
                width: 8px;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
              }

              img:last-child {
                width: 18px;
                opacity: 0;
              }
            }

            &:hover {
              p {
                color: transparent;

                &::after {
                  opacity: 1;
                }
              }

              .icon {
                img:first-child {
                  opacity: 0;
                }

                img:last-child {
                  opacity: 1;
                }
              }
            }
          }

          .active {
            p {
              color: transparent;

              &::after {
                opacity: 1;
              }
            }

            .icon {
              img:first-child {
                opacity: 0;
              }

              img:last-child {
                opacity: 1;
              }
            }
          }

          a:last-child {
            border-bottom: none;
          }
        }
      }

      .r {
        width: calc(100% - 307px);

        .title {
          box-shadow: 0 0 10px rgba(0, 0, 0, .3);
          position: relative;

          img {
            width: 100%;
            display: block;
            object-fit: contain;
          }

          p {
            font-size: 20px;
            color: #141414;
            font-weight: bold;
            position: absolute;
            left: 28px;
            bottom: 8px;
            margin: 0;
          }
        }

        .box1 {
          margin: 43px 0;

          .form {
            width: 700px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin: 0 auto 42px auto;
            .item {
              display: flex;
              margin-bottom: 35px;
              align-items: center;
              // width: 48%;
              p {
                color: #3D3D3D;
                font-size: 16px;
                margin: 0;
                width: 100px;
              }

              input {
                border-radius: 3px;
                border: 1px solid rgba(61, 61, 61, .5);
                font-size: 16px;
                outline: none;
                width: 207px;
                height: 28px;
              }
            }
            .item:last-child{
              margin-bottom: 0;
            }
          }
          .btns{
            display: flex;
            justify-content: center;
            div{
              width: 51px;
              line-height: 30px;
              text-align: center;
              font-size: 16px;
              border-radius: 9px;
              cursor: pointer;
            }
            .submit{
              background-color: #224C84;
              color:white;
            }
            .clear{
              border: 1px solid rgba(61, 61, 61, .5);
              margin-left: 35px;
            }
          }
          .list{
            margin-top: 51px;
            .theader{
              display: flex;
              justify-content: space-between;
              color:#224C88;
              text-align: center;
              background: rgba(34, 76, 136, .2);
              p{
                margin: 0;
                font-size: 18px;
                padding: 10px 0;
              }
              .p1{
                width: 6%;
              }
              .p2{
                width: 25%;
              }
              .p3{
                width: 40%;
              }
              .p4{
                width:12%;
              }
            }
            .allItems{
              .item{
                display: flex;
                justify-content: space-between;
                color:#3D3D3D;
                text-align: center;
                p{
                  margin: 0;
                  font-size: 16px;
                  padding: 24px 0;
                  position: relative;
                  &::after{
                    content:'';
                    display: block;
                    position: absolute;
                    height: 80%;
                    width: 1px;
                    background:  rgba(34, 76, 136, .2);
                    right:0;
                    top:10%;
                  }
                }
                .p1{
                  width: 6%;
                }
                .p2{
                  width: 25%;
                }
                .p3{
                  width: 40%;
                }
                .p4{
                  width:12%;
                }
                p:last-child{
                  &::after{
                    display: none;
                  }
                }
              }
              .item:nth-child(2n){
                background: rgba(34, 76, 136, .2);
                p{
                  &::after{
                    content:'';
                    display: block;
                    position: absolute;
                    height: 80%;
                    width: 1px;
                    background:  rgba(255, 255, 255, .5);
                    right:0;
                    top:10%;
                  }
                }
                p:last-child{
                  &::after{
                    display: none;
                  }
                }
              }
            }
          }
          .pager {
            display: flex;
            justify-content: center;
            margin-top: 60px;

            a {
              width: 30px;
              height: 30px;
              background: #CCCCCC;
              border-radius: 2px;
              display: flex;
              align-items: center;
              justify-content: center;
              color: #3D3D3D;
              font-size: 16px;
              margin: 0 6px;
              transition: all 600ms;

              img {
                width: 9px;
                display: block;
                transition: all 600ms;
              }

              &:hover {
                background-color: #224C88;
                color: white;

                img {
                  filter: invert(100%);
                }
              }
            }
            .active{
              background-color: #224C88;
              color: white;
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1441px) {
    .container {
      width: 90%;
    }
  }
  @media screen and (max-width:1024px){
    .container{
      .section{
        .r{
          .box1{
            .form{
              width: 100%;
              .item{
                input{
                  width: 170px;
                }
              }
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 768px) {
    .container {
      margin: 80px auto;

      .section {
        flex-direction: column;

        .l {
          width: 100%;
        }

        .r {
          width: 100%;
          margin-top: 20px;

          .title {
            img {
              height: 60px;
              width: 97%;
              margin-left: 3%;
            }

            p{
              font-size: 18px;
              bottom:10px;
              left: 3%;
            }
          }

          .box1 {
            margin: 30px 0;
            .form{
              width: 100%;
            }
            .list{
              overflow-x: scroll;
              .theader,.allItems{
                width: 900px;
              }
              .allItems{
                .item{
                  display: flex;
                  align-items: center;
                  justify-content: center;
                }
              }
            }
            .pager{
              margin-top: 40px;
            }
          }
        }
      }
    }
  }
}